home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 34
/
Creative-Review-CD-ROM-34.iso
/
pc
/
jkd
/
folio
/
scripts.cst
/
00006_Script_Option Button Parent Script
< prev
next >
Wrap
Text File
|
1998-01-26
|
2KB
|
41 lines
property normalMember
property overMember
property downMember
property buttonLoc
property buttonSprite
property infoButtonOn
property searchButtonOn
on new me,sentLoc,sentSprite,sentNormal,sentOver,sentDown
set the buttonLoc of me = sentLoc
set the buttonSprite of me = sentSprite
set the normalMember of me = sentNormal
set the overMember of me = sentOver
set the downMember of me = sentDown
set the infoButtonOn of me = FALSE
set the searchButtonOn of me = FALSE
puppetSprite the buttonSprite of me, true
set the member of sprite the buttonSprite of me to member the normalMember of me of castLib "Buttons"
set the width of sprite the buttonSprite of me to the width of member the normalMember of me of castLib "Buttons"
set the height of sprite the buttonSprite of me to the height of member the normalMember of me of castLib "Buttons"
set the loc of sprite the buttonSprite of me to the buttonLoc of me
return me
end new
on overButton me
set the member of sprite the buttonSprite of me to member the overMember of me of castLib "Buttons"
set the width of sprite the buttonSprite of me to the width of member the overMember of me of castLib "Buttons"
set the height of sprite the buttonSprite of me to the height of member the overMember of me of castLib "Buttons"
end
on normalButton me
set the member of sprite the buttonSprite of me to member the normalMember of me of castLib "Buttons"
set the width of sprite the buttonSprite of me to the width of member the normalMember of me of castLib "Buttons"
set the height of sprite the buttonSprite of me to the height of member the normalMember of me of castLib "Buttons"
end
on downButton me
set the member of sprite the buttonSprite of me to member the downMember of me of castLib "Buttons"
set the width of sprite the buttonSprite of me to the width of member the downMember of me of castLib "Buttons"
set the height of sprite the buttonSprite of me to the height of member the downMember of me of castLib "Buttons"
end